<?php 
/*
Template Name: Mission
*/
get_header();
$this_is_page=true;
?>
		 <div class="AboutContent">
	 	   <div class="AboutSubmenu">
		   	<ul>
				
				<li class="Home"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/homebutton.png" /></a></li>
			
                             <?php   
                            if($post->post_parent) {
                              $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&depth=1&echo=0");
                              $titlenamer = get_the_title($post->post_parent);
                              }
                              else {
                              $children = wp_list_pages("title_li=&child_of=".$post->ID."&depth=1&echo=0");
                              $titlenamer = get_the_title($post->ID);
                              }
                                           ?>
                                <li class="TitleButton"><?php echo $titlenamer; ?></li>
                              <?php
                              if ($children) { ?>
                              <?php echo $children; ?>
                             <?php } ?>
				<li class="Image"><img src="<?php bloginfo('template_url'); ?>/images/wordsimage.png" /></li>
			</ul>
			
			
		   </div>
		   
		   <div class="AboutScan">
		   	     <div class="AboutWordstitle">
                   
                           <img src="<?php bloginfo('template_url'); ?>/images/companymission.jpg" /></div>
                                 <div class="AboutPic">
                                 <img src="<?php bloginfo('template_url'); ?>/images/companymission.png" />
			  
			 </div>
		   </div>
		 </div>

<?php get_footer(); ?>